package club.kingyin.kyblog.core.utils.log;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Date;

/**
 * @author : kingyin
 * @version : 1.0
 * @program : Ky-Blog
 * @description : 日志信息
 * @create : 2021年08月13日 15:29
 **/

@Data
public class LogResult {

    private String module;
    private String operator;
    private String method;
    private String sources;
    private long time;
    private Object[] params;
    private Object result;
    private String msg;
    // 扩展
    private Object extension;

    @JSONField(format = "yyyy-MM-dd hh:mm:ss")
    private Date date;
}
